package it.univaq.di.helpdesk.business.common;

import it.univaq.di.helpdesk.business.errors.BusinessException;
import it.univaq.di.helpdesk.business.model.Faq;


import java.util.List;
import java.util.Map;

public interface FaqService {
	public List<Faq> findAllFaq() throws BusinessException;
	
	public Faq findFaqById(int ID) throws BusinessException;
	
	public void addFaq(Faq faq) throws BusinessException;
	
	public void updateFaq(Faq faq) throws BusinessException;
	
	public List<Faq> searchForFaqs(Map<String, String> queryParam) throws BusinessException;

	public Faq getFaqById(int ID) throws BusinessException;

	public void deleteFaq(int faqID) throws BusinessException;;
}
